<%@ page language="java" import="java.util.*,Bean.RestMessage" pageEncoding="utf-8"%>

<html>
  <head>
  </head>
  <center>
  <body>
<%
List<RestMessage> user = (List<RestMessage>)session.getAttribute("list");
 %>
<table border='+1'>
<tr><td>餐馆ID</td><td>菜系ID</td><td>餐馆密码</td><td>餐馆名称</td><td>餐馆电话</td><td>餐馆地址</td><td>餐馆收入</td><td>简介</td><td>修改</td></tr>
<%
    	for(RestMessage user2:user){
   %>
    		     <tr>
					<td><%=user2.getRest_Id() %></td>
					<td><%=user2.getDish_Style_Id() %></td>
					<td><%=user2.getRest_Password() %></td>
					<td><%=user2.getRest_Name() %></td>
					<td><%=user2.getRest_Telphone() %></td>
					<td><%=user2.getRest_Address() %></td>
					<td><%=user2.getSales_Turnover() %></td>
					<td><%=user2.getRemark() %></td>
					<td><a href="">删除</a></td>
    		    </tr>	
   <%
    }
    %>
</table>
 </body>
  </center>
</html>